<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数字列表</title>
    <link rel="stylesheet" href="../css/bootstrap4.5.min.css">
    <link rel="stylesheet" href="../css/public.css">
    <script src="../js/jquery-3.5.1.min.js"></script>
    <script src="../js/bootstrap4.5.min.js"></script>
    <script src="../js/jquery.countup.min.js"></script>
    <script src="../js/index.js"></script>
    <script src="../js/jquery.waypoints.min.js"></script>
</head>
<style>
    .number_list_list ul li:nth-child(odd) {
        padding: 50px 0 0 0;
    }

    .number_list_list ul li {
        padding-left: 0;
        padding-right: 0;
    }

    .number_list_list .number_list_img {
        height: 550px;
    }

    .number_list_list .number_list_img img {
        width: 100%;
        height: 100%;
    }


    .number_list_list ul li:nth-child(odd) .number_list_text {

        position: absolute;
        top: 70%;
        left: 0;
        right: 0;
        text-align: center;
    }

    .number_list_list ul li:nth-child(even) .number_list_text {
        text-align: center;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
    }

    .number_list_text p:nth-child(1) {
        font-size: 45px;
        line-height: 66px;
        color: #fff;
    }

    .number_list_text p:nth-child(2) {
        padding: 0 20px;
        font-size: 14px;
        color: #B1A7A7;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    @media(max-width:1200px) {
        .number_list_list ul li:nth-child(odd) {
            padding: 0 0 0 0;
        }

        .number_list_list .number_list_img {
            height: 350px;
        }

        .number_list_list ul li:nth-child(odd) .number_list_text {
            top: 40%;
        }

        .number_list_list ul li:nth-child(even) .number_list_text {
            top: 40%;
        }

        .number_list_text p:nth-child(1) {
            font-size: 35px;
            line-height: 56px;
        }
    }

    @media(max-width:768px) {
        .number_list_list .number_list_img {
            height: 300px;
        }

        .number_list_text p:nth-child(1) {
            font-size: 26px;
            line-height: 50px;
        }
    }
</style>

<body>
    <div class="number_list modular">
        <div class="number_list_list ">
            <ul class="public_width row">
                <li class="col-xl-4 col-md-6 col-12">
                    <div class="number_list_img"><img src="../images/number_1.jpg" alt="">
                    </div>
                    <div class="number_list_text">
                        <p class="counter">1999</p>
                        <p>成立Advertising</p>
                    </div>
                </li>
                <li class="col-xl-4 col-md-6 col-12">
                    <div class="number_list_img"><img src="../images/number_2.jpg" alt="">
                    </div>
                    <div class="number_list_text">
                        <p class="counter">2005</p>
                        <p>我们为您提供专业设计解决方案通过研究商业模式来定义品牌模式提供优秀的品牌整合解决方案</p>
                    </div>
                </li>
                <li class="col-xl-4 col-md-6 col-12">
                    <div class="number_list_img"><img src="../images/number_3.jpg" alt="">
                    </div>
                    <div class="number_list_text">
                        <p class="counter">400</p>
                        <p>作品works</p>
                    </div>
                </li>

            </ul>

        </div>
    </div>

</body>

</html>